﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace JzSport.Api.Params
{
    public class AcceptFriendsRequestParams : IActionParams
    {
        /// <summary>
        /// 目标账号id
        /// </summary>
        public int TargetUserId { get; set; }

        public void ParseQueryString(HttpRequest request)
        {
            this.TargetUserId = Convert.ToInt32(request.QueryString["op:targetuserid"]);
        }

        public void ParseForm(HttpRequest request)
        {
            this.TargetUserId = Convert.ToInt32(request.Form["op:targetuserid"]);
        }
    }
}
